package com.jy.adscm.operation.base.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.base.bean.TaskManagerinfo;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;
import org.omg.PortableServer.POAPackage.AdapterAlreadyExists;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2018-12-11
 */
public interface TaskManagerinfoService extends IService<TaskManagerinfo> {

    List<TaskManagerinfo> selectByTid(String type, String tid);

    boolean inserttaskManagerinfo(TaskManagerinfo taskManagerinfo, Token token) throws AdscmSystemException;

    boolean updateByTaskManagerinfo(TaskManagerinfo taskManagerinfo, Token token);
}
